<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=0.5,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no, email=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <!-- 删除苹果默认的工具栏和菜单栏 -->
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <!-- 设置苹果工具栏颜色 -->
    <meta name="format-detection" content="telphone=no, email=no" />
    <!-- 忽略页面中的数字识别为电话，忽略email识别 -->
    <!-- 启用360浏览器的极速模式(webkit) -->
    <meta name="renderer" content="webkit">
    <!-- 避免IE使用兼容模式 -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- 针对手持设备优化，主要是针对一些老的不识别viewport的浏览器，比如黑莓 -->
    <meta name="HandheldFriendly" content="true">
    <!-- 微软的老式浏览器 -->
    <meta name="MobileOptimized" content="320">
    <!-- uc强制竖屏 -->
    <meta name="screen-orientation" content="portrait">
    <!-- QQ强制竖屏 -->
    <meta name="x5-orientation" content="portrait">
    <!-- UC强制全屏 -->
    <meta name="full-screen" content="yes">
    <!-- QQ强制全屏 -->
    <meta name="x5-fullscreen" content="true">
    <!-- UC应用模式 -->
    <meta name="browsermode" content="application">
    <!-- QQ应用模式 -->
    <meta name="x5-page-mode" content="app">
    <!-- windows phone 点击无高光 -->
    <meta name="msapplication-tap-highlight" content="no">
    <title>意向单详情</title>
    <link rel="stylesheet" href="css/reset.css">
    <link rel="stylesheet" href="css/main.css">
    <link rel="stylesheet" href="css/index.css">
    <link rel="stylesheet" href="css/LCalendar.css">
    <link rel="stylesheet" href="css/yd_rl.css" />
</head>
<body>
    <!-- 公共头部 -->
    <div class="g2_head-bg">
        <!-- 返回上一层 -->
        <p class="g2_head_goback-bg fl">
            <a href="意向单详情.html">
                <img src="images/xky_icon0-1.png" class="g2_head_goback_icon fl" alt="">
                <span class="g2_head_goback_del fl">返回</span>
            </a>
        </p>
        <p class="ym-tit fl">意向单详情</p>
        <span class="g2_head_goback_del fr khxz_color">新增</span>
        <span class="g2_head_goback_del fr gdlb_sx">筛选</span>
        <div class="cl"></div>
    </div>
    <div class="g2_head-bg2"></div>

    <!-- 工单（意向单）详情 -->
    <div class="gdyxd-bg" id="yxdxq1">
        <form action="">
        <!-- 工单信息（意向单）详情 -->
            <p class="gdx2_tit">工单信息</p>
            <ul class="grzx_xq-bg">
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">旅游类型</p>
                    <p class="grzx_xgname_del fr">国内</p>
    
                    <div class="cl"></div>
                </li>
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">旅游地点</p>
                    <p class="grzx_xgname_del fr">海南</p>
                
                    <div class="cl"></div>
                </li>
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">旅游线路</p>
                    <p class="grzx_xgname_del fr">海南双飞五日游</p>
                
                    <div class="cl"></div>
                </li>
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">工单状态</p>
                    <p class="grzx_xgname_del gdyxd_zt fr">成功</p>
                
                    <div class="cl"></div>
                </li>
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">录入人</p>
                    <p class="grzx_xgname_del fr">张三</p>
                
                    <div class="cl"></div>
                </li>
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">工单备注</p>
                    <p class="grzx_xgname_del fr">介绍客户</p>
                
                    <div class="cl"></div>
                </li>
            </ul>
            <!-- 客户信息（意向单）详情 -->
            <p class="gdx2_tit">客户信息</p>
            <ul class="grzx_xq-bg">
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">客户姓名</p>
                    <p class="grzx_xgname_del grzx_xgsjhm-bg fr">王群翔</p>
                    <div class="cl"></div>
                </li>
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">客户电话</p>
                    <p class="grzx_xgname_del grzx_xgsjhm-bg fr">185 3822 2981</p>
                    <div class="cl"></div>
                </li>
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">电子邮箱</p>
                    <p class="grzx_xgname_del grzx_xgsjhm-bg fr">5037159346@163.com</p>
                    <div class="cl"></div>
                </li>
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">身份证号</p>
                    <p class="grzx_xgname_del grzx_xgsjhm-bg fr">412721199410183816</p>
                    <div class="cl"></div>
                </li>
            </ul>
            <div style="width:100%;height:20vw;"></div>
            <!-- 按钮 -->
            <div class="gdyxd_gdjl-bg">
                <input type="button" class="gdyxd_gdjl-btn" value="跟单记录">
            </div>
            <div class="gdyxd_gdcz-bg">
                <input type="button" class="gdyxd_gdcz-btn" value="工单操作">
                <p class="gdyxd_gdcz_xqbg">
                    <input type="button" class="gdyxd_gdczdel-btn" value="成功">
                    <input type="button" class="gdyxd_gdczdel-btn" value="失败">
                </p>
            </div>
        </form>
    </div>

    <!-- 工单（意向单）跟单记录 -->
    <!-- 跟单记录列表 -->
    <ul class="yxd_list-bg" id="yxdxq2">
        <li class="yxd_list">
            <p class="yxd_list_khname fl">王群翔</p>
            <p class="yxd_list_khgdzt fl">
                <span class="yxd_khwgdzt">未跟单</span>
            </p>
            <p class="yxd_list_khgdtimer fr">2017.10.21</p>
            <div class="cl"></div>
        </li>
        <li class="yxd_list">
            <p class="yxd_list_khname fl">王群翔</p>
            <p class="yxd_list_khgdzt fl">
                <span class="yxd_khygdzt">已跟单</span>
            </p>
            <p class="yxd_list_khgdtimer fr">2017.10.22</p>
            <div class="cl"></div>
            <p class="yxd_list_khbzx2">
                <span>备注信息：</span>
                <span style="font-size:1.8rem;">
                     客户今天没有时间，约定明天联系
                </span>
            </p>
        </li>
        <li class="yxd_list">
            <p class="yxd_list_khname fl">王群翔</p>
            <p class="yxd_list_khgdzt fl">
                <span class="yxd_khygdzt">已跟单</span>
            </p>
            <p class="yxd_list_khgdtimer fr">2017.10.23</p>
            <div class="cl"></div>
            <p class="yxd_list_khbzx2">
                <span>备注信息：</span>
                <span style="font-size:1.8rem;">
                    客户确定新路和团期
                </span>
            </p>
        </li>
        <!-- 确定跟单时间 -->
        <div class="yxd_qdgdtime">
            <p class="grzx_xgname yxd_gdbztit fl">跟单时间</p>
            <p class="grzx_xgname_del grzx_xgsjhm-bg fl">
                <input type="text" name="start_date" id="start_date" class="start_date3" placeholder="请选择跟单时间" style="width:40%;margin-top:4.3vw;margin-right:32%;text-align:center;height:6vw !important;"
                            readonly="readonly" />
            </p>
            <div class="cl"></div>
            <!-- 意向单 第二次、第三次。。的备注输入框 -->
            <p class="yxd_gdbz-bg">
                <span class="yxd_gdbztit fl">跟单备注</span>
                <textarea name="" id="" class="yxd_gdbzbox fl"></textarea>
                <div class="cl"></div>
            </p>

            <input type="reset" class="grzx_cx_btn fl" value="撤 销">
            <input type="button" class="grzx_tj_btn fr" value="提 交">
            <div class="cl"></div>
        </div>
    </ul>

    <script src="js/jquery.min.js"></script>
    <script src="js/fastclick.min.js"></script>
</body>
    <script src="js/LCalendar.js" type="text/javascript" charset="utf-8"></script>
    <script src="js/index.js" type="text/javascript" charset="utf-8"></script>
    <script>
        $(function () {
            FastClick.attach(document.body);
        });
        window.onload = function (event) {
            location.hash = 'yxdxq1';
            $("#yxdxq1").show();
            $("#yxdxq2").hide();
        }

        $(window).on('hashchange', function (e) {
            var id = location.hash.substr(1);
            $("#" + id).show()

            if (id == "yxdxq1") {
                $("#yxdxq1").show();
                $("#yxdxq2").hide();
                $('.ym-tit').html('意向单详情');
            } else if (id == "gdgl2") {
                $("#yxdxq2").show();
                $("#yxdxq1").hide();
                $('.ym-tit').html('意向单跟单记录');
            }

        })
        // 意向单 跟单记录操作
        $('.gdyxd_gdjl-btn').click(function () {
            location.hash = 'yxdxq2';
            $("#yxdxq2").show();
            $("#yxdxq1").hide();
            $('.ym-tit').html('意向单跟单记录');
        })

    </script>
    <script type="text/javascript">
        var calendar = new LCalendar();
        calendar.init({
            'trigger': '#start_date', //标签id
            'type': 'date', //date 调出日期选择 datetime 调出日期时间选择 time 调出时间选择 ym 调出年月选择,
            'minDate': (new Date().getFullYear() - 3) + '-' + 1 + '-' + 1, //最小日期
            'maxDate': (new Date().getFullYear() + 3) + '-' + 12 + '-' + 31 //最大日期
        });

        var calendar = new LCalendar();
        calendar.init({
            'trigger': '#end_date', //标签id
            'type': 'date', //date 调出日期选择 datetime 调出日期时间选择 time 调出时间选择 ym 调出年月选择,
            'minDate': (new Date().getFullYear() - 3) + '-' + 1 + '-' + 1, //最小日期
            'maxDate': (new Date().getFullYear() + 3) + '-' + 12 + '-' + 31 //最大日期
        });
    $('.date_btn').click(function () {
        alert(111);
        $('.grzx_xgdate').css('display', 'block');
    })

    </script>
</html>